<%@ page language="java"  import="java.util.*"  
                  pageEncoding="utf-8"  %>
                  
<%@ page isELIgnored="false"%>

<% 
  String path=request.getContextPath();
  String basePath=request.getScheme()+"://"
  							+request.getServerName()+":"
		  					+request.getServerPort()+path+"/";
  
%> 
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">

    <meta charset="UTF-8">
    <title>LOL登录页面</title>
    <link href="css/header.css" rel="Stylesheet"/>
    <link href="css/footer.css" rel="Stylesheet"/>
    <link href="css/login.css" rel="stylesheet"/>
</head>
<body>
<!-- 页面顶部-->
<header id="top">
    <div class="top">
        <img src="" alt=""/>
        <span>欢迎登录</span>
    </div>
</header>
<div id="container">
    <div id="cover" class="rt">
        <form id="login-form" method="POST" name="form1"  action="login">
        
        <input type="hidden" name="method" value="denglu"/>
            <div class="txt">
                <p>登录
                    <span>
                        <a href="jsp/register.jsp">新用户注册</a>
                    </span>
                </p>
                <div class="text">
                    <input type="text" placeholder="请输入您的用户名" name="lname" id="username" required  value="${cookie.cname.value }">
                    <span><img src="images/login/yhm.png"></span>
                </div>
                
                <div class="text">
                    <input type="password" id="password" placeholder="请输入您的密码" name="lwd" required minlength="6" maxlength="15"  value="${cookie.cpwd.value }">
                    <span><img src="images/login/mm.png"></span>
                </div>
                <div class="chose">
                    <input type="checkbox" class="checkbox" id="ck_rmbUser" value="0"   name="rmb">自动登录
                    <span>忘记密码？</span>
                </div>
                <input class="button_login" type="submit" value="登录" id="bt-login" onclick="Save()"/>
            </div>
        </form>
    </div>
</div>
<!--错误提示-->
<div id="showResult">
	<span>${errorInfo}</span>
</div>


<!-- 品质保障，私人定制等-->
<div id="foot_box">
    <div class="icon1 lf">
        <img src="images/footer/icon1.png" alt=""/>

        <h3>品质保障</h3>
    </div>
    <div class="icon2 lf">
        <img src="images/footer/icon2.png" alt=""/>

        <h3>私人定制</h3>
    </div>
    <div class="icon3 lf">
        <img src="images/footer/icon3.png" alt=""/>

        <h3>学员特供</h3>
    </div>
    <div class="icon4 lf">
        <img src="images/footer/icon4.png" alt=""/>

        <h3>专属特权</h3>
    </div>
</div>

</body>
</html>